import axios from '@/utils/request';

export function getSingleTeacherList(params) {
    return axios.post({
        url: '/single-teacher/list',
        data: params
    }).then((res) => {
        return res
    })
}

export function getSingleTeacherListAll(params) {
    return axios.post({
        url: '/single-teacher/listAll',
        data: params
    }).then((res) => {
        return res
    })
}

export function editSingleTeacher(params) {
    return axios.post({
        url: '/single-teacher/edit',
        data: params
    }).then((res) => {
        return res
    })
}

export function deleteSingleTeacher(params) {
    return axios.post({
        url: '/single-teacher/delete',
        data: params
    }).then((res) => {
        return res
    })
}

export function loadSingleTeacher(params) {
    return axios.post({
        url: '/single-teacher/load',
        data: params
    }).then((res) => {
        return res
    })
}

